import { BaseApi } from "@/api/base";
import http from "@/api/http";

class MicroPageApi extends BaseApi {
  constructor(url) {
    super(url);
  }
  save = (params: any): Promise<any> => {
    return http.post(this.url + "/save", params);
  };
  getAppId = (params): Promise<any> => {
    return http.get(this.url + "/getAppId", params);
  };
}
export default new MicroPageApi("/micro/page");
